package cn.zlj.pethome.org.service;

import cn.zlj.pethome.basic.QueryResult;
import cn.zlj.pethome.org.domain.TDepartment;
import cn.zlj.pethome.org.query.QueryPage;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface DepartmentService {
    List<TDepartment> getList();


    QueryResult<TDepartment> queryPage(QueryPage page);

    Integer queryPageCount(QueryPage page);

    void del(Long id);

    TDepartment getOne(Long id);

    void update(TDepartment tDepartment);

    void save(TDepartment tDepartment);

    void batchDel(List<Long> ids);
}
